@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
toolbarbutton{
-moz-appearance:none;
-moz-box-align:center;
-moz-box-pack:center;
background-color:transparent;
border:1px solid transparent;
-moz-border-radius:3px;
margin:1px;
padding:3px}

.toolbarbutton-icon[label]:not([label=""]),
.toolbarbutton-icon[type="menu"]{
-moz-margin-end:5px}

.toolbarbutton-text{
text-align:center;
margin:0!important}

toolbarbutton.tabbable{
-moz-user-focus:normal!important}

toolbarbutton:focus{
-moz-appearance:none;
outline:none}

toolbarbutton:hover,
toolbarbutton[buttonover="true"],
toolbarbutton[checked="true"],
toolbarbutton:hover:active,
toolbarbutton[open="true"]{
background-color:rgba(255,255,255,.2);
-moz-border-top-colors:transparent;
-moz-border-right-colors:transparent;
-moz-border-bottom-colors:transparent;
-moz-border-left-colors:transparent}

toolbarbutton[disabled="true"],
toolbarbutton[disabled="true"]:hover,
toolbarbutton[disabled="true"]:hover:active,
toolbarbutton[disabled="true"][open="true"],
toolbarbutton[disabled="true"][checked="true"]{
-moz-border-top-colors:transparent;
-moz-border-right-colors:transparent;
-moz-border-bottom-colors:transparent;
-moz-border-left-colors:transparent;
background:none;
padding:3px}

.toolbarbutton-menu-dropmarker{
-moz-appearance:none!important;
border:none!important;
background-color:transparent!important;
width:auto;
padding:0}

.toolbarbutton-menu-dropmarker[disabled="true"]{
padding:0!important}

.toolbarbutton-menubutton-button{
-moz-box-align:center;
-moz-box-pack:center;
-moz-box-orient:vertical}

toolbarbutton[type="menu-button"]{
-moz-box-align:stretch;
-moz-box-orient:horizontal!important}

toolbarbutton[type="menu-button"],
toolbarbutton[type="menu-button"]:hover,
toolbarbutton[type="menu-button"]:hover:active,
toolbarbutton[type="menu-button"][open="true"],
toolbarbutton[type="menu-button"][disabled="true"],
toolbarbutton[type="menu-button"][disabled="true"]:hover,
toolbarbutton[type="menu-button"][disabled="true"]:hover:active{
padding:0!important}

toolbarbutton[type="menu-button"] toolbarbutton{
border:none}

toolbarbutton[type="menu-button"][open="true"] toolbarbutton{
background-color:transparent}

.toolbarbutton-menubutton-dropmarker{
-moz-box-align:center;
padding:3px 3px 3px 2px;
border-top:none;
border-right:none;
border-bottom:none;
border-left:1px dotted transparent!important;
list-style-image:url("chrome://global/skin/toolbarbutton/dropmarker.png")}

toolbarbutton[type="menu-button"]:hover:not([disabled="true"]) .toolbarbutton-menubutton-dropmarker,
toolbarbutton[type="menu-button"]:hover:active:not([disabled="true"]) .toolbarbutton-menubutton-dropmarker,
toolbarbutton[type="menu-button"][buttonover="true"]:not([disabled="true"]) .toolbarbutton-menubutton-dropmarker,
toolbarbutton[type="menu-button"][buttondown="true"]:not([disabled="true"]) .toolbarbutton-menubutton-dropmarker,
.toolbarbutton-menubutton-dropmarker:hover{
border-left-color:#bbcada!important}